package com.dao;

import com.entity.Clazz;
import com.page.PageInfo;

import java.util.List;

public interface ClazzDao {

    List<Clazz> getAll() throws Exception;

    public Clazz getClazzByCno(String cno) throws Exception;

    public int addClazz(Clazz clazz) throws Exception;

    List<Clazz> getClazzsByPage(PageInfo pageInfo) throws Exception;

    public List<Clazz> searchClazzByName(String name, PageInfo pageInfo) throws Exception;

    public Clazz selectClazzWithScsAndCourse(String sno) throws Exception;

    public int updateByPrimaryKeySelective(Clazz clazz);
}
